package com.hecate.common.cons;

/**
 * @author 黄星星
 * @date 2020-12-08
 */
/**
 * 请求状态
 * @author 黄星星
 * @date 2020-06-13
 */
public enum StatusCode implements IStatusCode {
    SUCCESS( 0, "cc_operate_success"),
    ERROR(900, "cc_system_exception")
    ;

    private int code;
    private String desc;



    StatusCode(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }
}
